package com.cherry.javaee.demo.service;

import com.cherry.javaee.demo.domain.User;

import java.util.List;

public interface IUserService {

    /**
     * 查询所有
     * @return
     */
    List<User> findAllUser();


    User findUser(Long id);

    void saveUser(User user);

    void update(User user);

    void deleteUser(Long id);

}
